* {
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    /* 弹性布局 水平+垂直居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* 渐变背景 https://webgradients.com */
    background-image: linear-gradient(120deg, #dfd2eb 0%, #b1cfed 95%);
}

.container{
    background-color: #fff;
    width: 780px;
    height: 415px;
    /* 阴影 */
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    /* 相对定位 */
    position: relative;
}

/* 表单 */
.rl-box {
    position: absolute;
    top: -5%;
    left: 5%;
    width: 336px;
    height: 450px;
    border-radius: 8px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    z-index: 2;
    transition: 0.5s ease-in-out;
}

.hidden {
    display: none;
    transition: 0.5s;
}

/* 注册 */
.register-box-content {
    width: 21rem;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 8px;
    background-image: url(../img/3-img/bcg_content.jpg);
}

/* 登录注册相同体 */
.login-box {
    padding: 26px 24px 25px;
    background-image: url(../img/3-img/decoration.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
}

.login-logo {
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 27px;
}

.login-logo img {
    display: block;
    height: 60px;
    max-width: 100%;
    border: 0;
    object-fit: cover;
}

form {
    margin-top: 20px;
}

.login-box-in .login-title {
    color: #b2bac2;
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-family: "楷体";
    font-weight: bold;
}

.login-box-in .login-title span {
    display: inline-block;
    padding: 10px;
}

.login-box-in .login-form-item {
    display: flex;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.login-box-in .login-form-item input {
    font-size: 15px;
    border-radius: 8px;
    width: 100%;
    padding: 10px;
    transition: .3s;
    border: 1px solid #e8e8e8;
    height: 28px;
    padding-right: 46px;
}


.login-box-in .login-form-item input:valid + span {
    left: 10px;
    cursor: default;
}

.login-box-in .login-form-item span {
    position: absolute;
    top: -8px;
    font-size: 15px;
    color: #b2bac2;
    display: block;
    line-height: 1;
    padding: 0 7px;
}

.login-box-in .login-form-item span b {
    position: relative;
    z-index: 1;
    font-weight: normal;
}

.login-box-in .login-form-item input:valid + span:after {
    content: '';
    width: 100%;
    height: 3px;
    background: #fff;
    top:6px;
    position: absolute;
    left: 0;
    z-index: 0;
    opacity: 1;
}

/* 输入框聚焦效果 */
.login-box-in .login-form-item input:focus {
    border-color: #7bbed8;
}

.login-box-in .login-form-item input:focus + span {
    color: #7bbed8;
}

.login-box-in .login-form-item .login-eye {
    float: right;
}

.login-box-in .login-form-item .login-eye img {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 5px;
    top: 15px;
}

.login-box-in .login-bottom {
    margin-top: 10px;
}

.login-bottom button {
    width: 100%;
    padding: 12px;
    color: white;
    font-size: 14px;
    font-weight: 400;
    display: block;
    border-radius: 8px;
    background: #7bbed8;
    border: 1px solid #7bbed8;
    overflow: hidden;
    position: relative;
}

.login-bottom button:active {
    box-shadow: 0px 2px 0px 0px rgba(0,0,0,.2);
    top: 1px;      
}

.login-bottom button::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(247, 250, 250, 0.6),
        transparent
    );
    transition: all 650ms;
}

.login-bottom button:hover::before {
    left: 100%;
}

/* 登录 */
.login-box-content {
    width: 21rem;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 8px;
    background-image: url(../img/3-img/bcg_content.jpg);
}

/* 其他方式 */
form .dotted {
    min-width: 0;
    display: flex;
    margin: 15px 14px 5px;
    align-items: center;
}

form .dotted .Dot {
    margin: 0;
    min-width: 0;
    border-top: 1px solid;
    border-color: #969999;
    width: 95px;
}

form .dotted .dFont {
    margin: 0;
    min-width: 0;
    color: #999999;
    font-size: 0.8em;
    margin-left: 5px;
    margin-right: 15px;
    line-height: 17px;
    white-space: nowrap;
}

form .other {
    text-align: center;
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
}

form .other .icoD {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

form .other .icoD .icoQ {
    margin-top: 9px;
    text-align: center;
    background-image: url(../img/3-img/QQ.png);
    background-size: 34px;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 38px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    background-color: transparent;
    color: #16181d;
    font-size: 0.8em;
}

form .other .icoD .icoW {
    margin-top: 9px;
    text-align: center;
    background-image: url(../img/3-img/微信.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 38px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    background-color: transparent;
    color: #16181d;
    font-size: 0.8em;
}

form .other .icoD .icoF {
    margin-top: 9px;
    text-align: center;
    background-image: url(../img/3-img/人脸识别.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 36px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    background-color: transparent;
    color: #16181d;
    white-space: nowrap;
    font-size: 0.8em;
}


/* 主体 */
.container .display-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.container .left {
    left: 2%;
}

.container .right {
    right: 2%;
}


.container .display-box h2 {
    color: #8e9aaf;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 4px;
}

.container .display-box p {
    font-size: 12px;
    letter-spacing: 2px;
    color: #8e9aaf;
    text-align: center;
}

.container .display-box span {
    color: #B6CFED;
}

.container .display-box img {
    width: 384px;
    height: 216px;
    opacity: 0.9;
    margin: 20px 0;
}

.container .display-box .btn {
    margin-top: 3%;
    border: 1px solid;
    background-color: transparent;
    text-transform: uppercase;
    font-size: 16px;
    padding: 5px 20px;
    font-weight: bold;
    font-family: "楷体";
}

.container .display-box .light {
    color: #4cc9f0;
}

.container .display-box .btn:hover {
    color: white;
}

.container .display-box .light:hover {
    background-color: #4cc9f0;
    -webkit-box-shadow: 3px 2px 35px 5px rgba(76, 201, 240, 0.5);
    -moz-box-shadow: 3px 2px 35px 3px rgba(76, 201, 240, 0.5);
    box-shadow: 3px 2px 35px 3px rgba(76, 201, 240, 0.5);
    transition: all ease-in 0.5s;
}